package util
{
	public class StringUtils
	{
		public function StringUtils()
		{
		}
		
		public static function startsWith( string:String, pattern:String):Boolean
		{
			string  = string.toLowerCase();
			pattern = pattern.toLowerCase();
			
			return pattern == string.substr( 0, pattern.length );
		}
	}
}